projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de5939f
)
tests: Add missing margin to simple test
author
Alexander Mikhaylenko
<alexm@gnome.org>
Sun, 10 May 2020 21:49:09 +0000
(
02:49
+0500)
committer
Alexander Mikhaylenko
<alexm@gnome.org>
Sun, 10 May 2020 21:49:09 +0000
(
02:49
+0500)
tests/simple.c
patch
|
blob
|
history
diff --git
a/tests/simple.c
b/tests/simple.c
index 2bf39223bcccc6017bec697f0e78dcd377b8a07c..062afdc9fa0308ee7c1bf3e950a097b7634d86eb 100644
(file)
--- a/
tests/simple.c
+++ b/
tests/simple.c
@@
-51,6
+51,10
@@
main (int argc, char *argv[])
button = gtk_button_new ();
gtk_button_set_label (GTK_BUTTON (button), "hello world");
+ gtk_widget_set_margin_top (button, 10);
+ gtk_widget_set_margin_bottom (button, 10);
+ gtk_widget_set_margin_start (button, 10);
+ gtk_widget_set_margin_end (button, 10);
g_signal_connect (button, "clicked", G_CALLBACK (hello), NULL);
gtk_window_set_child (GTK_WINDOW (window), button);